﻿@using Kunlun.BusinessLogic
@using Kunlun.Models;
@model IEnumerable<Kunlun.Models.Product>
@{
    ViewBag.Title = "Index";
}
@{Html.RenderAction("ChildCategory");}  
<h2>Index</h2>
@foreach (var item in Model)
{ 
   <a href="/Store/photobook/view/@item.pid"> @item.Name </a><br />
        <img alt="" id="viewpic" src="@string.Format("{0}{1}",WebLog.ImageHttp, @ProductImageToThum.Thumbnail(item.ViewPic))" /><br />
}